#!/bin/sh /etc/rc.common
# Initializes streaming from /dev/video0 if it exists.

FILE=/dev/video0

start(){
        if `test -f$FILE`; then
                palantir -m -s 320x240 -d /dev/video0 -p 8080
        fi
}

stop(){
        kill `pidof palantir`
}

